package com.carkeeper.evaluate.service;

import com.carkeeper.evaluate.pojo.Evaluate;
import com.github.pagehelper.Page;

import java.util.List;
import java.util.Map;

/**
 * @author zhangmingxin
 * @version 1.0
 * @date 2020/11/23 19:00
 */
public interface EvaluateService {

    //查询订单评价表
    List<Evaluate> findAll();
    //条件查询
    public Page<Evaluate> searchMap(Map<String, Object> searchMap, Integer pageSize, Integer pageNum);
    //根据orderId查询评价
    Evaluate findById(Integer id);
    //根据id进行删除
    public Integer deleteById(String id);

}
